/**
 * NoEmailException.java 
 * Copyright © 2015-3015, 杭州泊享网络科技有限公司
 * 
 * @author Liu Tao
 * @create 2015年1月8日
 */
package com.pshare.artemis.framework.exception;

import com.pshare.enums.CodeMsg;
import com.pshare.framework.exception.SeaxRuntimeException;


/**
 * 邮箱未设置Exception
 */
public class NoEmailException extends SeaxRuntimeException {

	private static final long serialVersionUID = 3755304930437796732L;
	
	private final static Integer code = CodeMsg.NO_EMAIL.getCode();
	
	public NoEmailException() {
		super();
	}

	public NoEmailException(String message) {
		super(message);
	}

	public NoEmailException(Throwable cause) {
		super(cause);
	}

	public NoEmailException(String message, Throwable cause) {
		super(message, cause);
	}

	public Integer getCode() {
		return code;
	}
	
}
